package internal

import (
	"google.golang.org/grpc"
	"onerk4/zg5yk/ordering/common/proto/order"
	"onerk4/zg5yk/ordering/common/proto/takeout"
	"onerk4/zg5yk/ordering/common/proto/user"
	"onerk4/zg5yk/ordering/service/internal/logic"
)

func Register(server grpc.ServiceRegistrar) {
	user.RegisterUserServer(server, logic.UserServer{})
	takeout.RegisterTakeoutServer(server, logic.TakeoutServer{})
	order.RegisterOrderServer(server, logic.OrderServer{})
}
